/* 
 * File:   IceKeepAliveTCallback.h
 * Author: xuqian
 *
 * Created on December 29, 2014, 10:15 PM
 */

#ifndef ICEKEEPALIVETCALLBACK_H
#define	ICEKEEPALIVETCALLBACK_H

#include "common/CallbackTimerThread.h"
class IceApp;
class IceKeepAliveTCallback : public CallbackTimerThread
{
public:
    IceKeepAliveTCallback() {}
    IceKeepAliveTCallback(IceApp *mtt) {this->mtt = mtt;}
    ~IceKeepAliveTCallback() {}
    void callbackTimerThreadExpired() {}
    void callbackAssignTimerThreadExpired(int timer_id)
    {
        mtt->onT_KeepAlive(timer_id);
    }
private:
    IceApp *mtt;
};

#endif	/* ICEKEEPALIVETCALLBACK_H */

